package com.elecbook.content.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ContributeSubmitDTO {
    @ApiModelProperty("投稿ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("稿件标题")
    @TableField("title")
    private String title;

    @ApiModelProperty("投稿信息简介")
    @TableField("brief_introduction")
    private String briefIntroduction;

    @ApiModelProperty("稿件URL")
    @TableField("url")
    private String url;


    @ApiModelProperty("简介")
    @TableField("summary")
    private String summary;


    @ApiModelProperty("封面URL")
    @TableField("picture")
    private String picture;
}
